package com.wanmait.houlang;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cache.annotation.EnableCaching;

@SpringBootApplication
@MapperScan("com.wanmait.houlang.mapper")//mapper接口自动扫描
@ServletComponentScan//过滤器 监听器
@EnableCaching//开启缓存
public class HoulangApplication {
    public static void main(String[] args) {
        SpringApplication.run(HoulangApplication.class, args);
    }

}
